package com.suyuan.service.impl;

import com.suyuan.dao.CustomCartItemMapper;
import com.suyuan.entity.CustomCartItem;
import com.suyuan.service.CustomCartItemService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by yang on 2018/4/6.
 */
@Service(value = "customCartItem")
@Transactional
public class CustomCartItemServiceImpl implements CustomCartItemService{

    @Resource
    private CustomCartItemMapper cartItemMapper;

    public CustomCartItem findById(Integer id) {
        CustomCartItem cartItem = cartItemMapper.findById(id);
        return cartItem;
    }
}
